package com.spring3;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class SpringConfiguration {


    // 等价于 <bean id="demo03Service" class="com.spring3.Demo03Service" />
    //@Bean
    public Demo03Service demo03Service(){
        return new Demo03Service();
    }
}
